home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / queries / pgetmasterpagename.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  772b  |  30 lines

  1. /*
  2.  *--- PGetMasterPageName.cpp ----------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetMasterPageName.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetMasterPageName.h"
  12. #include "PQuery.h"
  13. #include "PRequestBuf.h"
  14.  
  15. PGetMasterPageName::PGetMasterPageName(unsigned long nPageID)
  16. : PStringQuery()
  17. {
  18.     char temp[8];
  19.     
  20.     PRequestBuf request(temp);
  21.     
  22.     request << nPageID;
  23.  
  24.     PQuery query(pm_getmasterpagename, request, itsHandle);
  25.  
  26.     InitHandle();
  27. }
  28.  
  29. // end of PGetMasterPageName.cpp
  30.